package com.pengq.aarapp

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.pengq.toastlib.ToastUtil
import kotlinx.android.synthetic.main.activity_main.*

class MainActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)

        showToast.setOnClickListener {
            ToastUtil.showToast(this, "你个小王八蛋")
        }
    }
}